package com.food.eat.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name = "order_product")
public class OrderProduct {
    private String productId;
    private String productName;
    private Integer storegeNum;
    private String productUrl;
    private Integer createOpereatorId;
    private Integer modefityOpereatorId;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="Asia/Shanghai")
    private Date createdTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="Asia/Shanghai")
    private Date modefityTime;



}
